Component org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingContrib
In bundle org.nuxeo.ecm.platform.web.common
Contributions
- org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingContrib--listener
- org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingContrib--requestdump
- org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingContrib--exceptionhandler
- org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingContrib--errorhandlers
XML Source
<?xml version="1.0"?>
<component
name="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingContrib">
<extension
target="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingService"
point="exceptionhandler">
<exceptionHandler
class="org.nuxeo.ecm.platform.web.common.exceptionhandling.NuxeoSecurityExceptionHandler" />
</extension>
<extension
target="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingService"
point="errorhandlers">
<errorHandlers bundle="messages" loggerName="nuxeo-error-log"
defaultpage="/nuxeo_error.jsp">
<handlers>
<handler error=".*DocumentNotFoundException" code="404"
message="Error.Document.Not.Found" />
<handler error=".*SecurityException" code="403"
message="Error.Insuffisant.Rights" page="/nuxeo_error_security.jsp" />
<handler error=".*" code="500"
message="Error.Unknown" />
</handlers>
</errorHandlers>
</extension>
<extension
target="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingService"
point="requestdump">
<requestdump
class="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.DefaultRequestDumper">
<!-- you can add names of attributes you don't want to see listed in the request dump.
<notListed>
<attribute>javax.servlet.forward.request_uri</attribute>
</notListed>
-->
</requestdump>
</extension>
<extension
target="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingService"
point="listener">
<listener
class="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.NullExceptionHandlingListener" />
</extension>
</component>